import hzn.service.OrderService;
import org.springframework.context.support.ClassPathXmlApplicationContext;


import java.io.IOException;

public class ConsumerTest {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext c=new ClassPathXmlApplicationContext("classpath:consumer.xml");
        OrderService o=c.getBean(OrderService.class);
        System.in.read();
    }
}
